<?php

function view_wrong_email() {
    return '<span class="templaye_span"> Veuillez choisir un autre identifiant celui-ci est d&eacute;j&agrave; pris.</span>';
}

function view_error_db() {
    return '<span class="template_span">Erreur dans l\'insertion de la base de donnees.</span>';
}

function view_account_created($email) {
    return '<span class="template_span">Bravo votre compte "' . $email . '" a bien &eacute;t&eacute; cr&eacute;&eacute;, vous pouvez &agrave; pr&eacute;sent vous connecter</span>';
}

function viewcreateadmin() {


    echo '<span class="template_box_admin"><form action="' . URL_ROOT . 'create-admin/form-1" method="post"  enctype="multipart/form-data">
            <p>
            <span class="template_span">Prenom: <input class="template_input" name="surname"><br /></span>
            <span class="template_span">Nom: <input class="template_input" name="name"><br /></span>
            <span class="template_span">Job: <input class="template_input" name="job"><br /></span>
            <span class="template_span">Email: <input class="template_input" name="email"><br /></span>
            <span class="template_span">Description:  <textarea class="template_input_text" cols="50" rows="5" type="text" name="description" id="visu"></textarea></span>
            <span class="template_span">Login: <input class="template_input" name="login"><br /></span>
            <span class="template_span">Mot de passe: <input class="template_input"  name="password"><br /></span>
            <span class="template_span">Photo de profil: <input  type="file" name="photo" /></span>
                <input class="button" id="button" value="Creer un nouvel admin" type="submit"/>
            </p>
         </form>
         </span>';
}

?>